/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package homework;

/**
 *
 * @author Administrator
 */
public class Man {
    private String eyescolor;

    public String getEyescolor() {
        return eyescolor;
    }

    public void setEyescolor(String eyescolor) {
        this.eyescolor = eyescolor;
    }
    

}

class AsiaMan extends Man{
    public static void main(String[] args) {
        AsiaMan asia = new AsiaMan();
        asia.setEyescolor("黑色的");
        System.out.println("亚洲人的眼睛颜色是"+asia.getEyescolor());
        
    }
    
}

class EuroMan extends Man{
    public static void main(String[] args) {
        EuroMan euro = new EuroMan();
        euro.setEyescolor("蓝色的");
        System.out.println("欧洲人的眼睛颜色是"+euro.getEyescolor());
        
                
    }
}

